package com.lianxi.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author laiyy
 * @date 2019/7/9 9:42
 *
 * 黑马校验返回值 dto
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CheckDto {

    private int code;
    private String msg;
    private CheckData data;

    @Data
    public static class CheckData{
        private String CheckResultStr;
        private String FixStr;
        private List<CheckResult> CheckResult;
    }

    @Data
    public static class CheckResult{
        private String ExtensionData;
        private List<CorWord> CorWord;
        private String ErrWord;
        private String Level;
        private String Pos;
    }

    @Data
    public static class CorWord{
        private String string;
    }

}
